<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <link type="text/css" rel="stylesheet" href="/css/bootstrap.css">
    <link type="text/css"  href="/node_modules/ekko-lightbox/dist/ekko-lightbox.css">

    <link type="text/css"  href="/css/kurento.css">

    <script  src="/js/jquery.js"></script>
    <script src="https://unpkg.com/draggabilly@2/dist/draggabilly.pkgd.min.js"></script>
    <script type="javascript" src="/js/bootstrap.js"></script>
    <script type="javascript" src="https://cdn.jsdelivr.net/npm/ekko-lightbox@5.3.0/dist/ekko-lightbox.min.js"></script>
    <script  src="/js/adapter.js"></script>
    <script  src="/js/kurento-utils.js"></script>
    <script  src="/js/O2OCall.js"></script>
    <title>One 2 One Call</title>
</head>
<body>
<div class="container">

    <div class="row">
        <div class="col-md-5">
            <label class="control-label" for="name">Name</label>
            <div class="row">
                <div class="col-md-6">
                    <input id="name" name="name" class="form-control" type="text"
                           onkeydown="if (event.keyCode == 13) register();" />
                </div>
                <div class="col-md-6 text-right">
                    <a id="register" href="#" class="btn btn-primary"><span
                            class="glyphicon glyphicon-plus"></span> Register</a>
                </div>
            </div>

            <br /> <br /> <label class="control-label" for="peer">Peer</label>
            <div class="row">
                <div class="col-md-6">
                    <input id="peer" name="peer" class="form-control" type="text"
                           onkeydown="if (event.keyCode == 13) call();">
                </div>
                <div class="col-md-6 text-right">
                    <a id="call" href="#" class="btn btn-success"><span
                            class="glyphicon glyphicon-play"></span> Call</a> <a id="terminate"
                                                                                 href="#" class="btn btn-danger"><span
                        class="glyphicon glyphicon-stop"></span> Stop</a>
                </div>
            </div>
            <br /> <label class="control-label" for="console">Console</label><br>
            <br>
            <div id="console" class="democonsole">
                <ul></ul>
            </div>
        </div>
        <div class="col-md-7">
            <div id="videoBig">
                <video id="videoOutput" autoplay width="640px" height="480px"
                       poster="img/webrtc.png"></video>
            </div>
            <div id="videoSmall">
                <video id="videoInput" autoplay width="240px" height="180px"
                       poster="img/webrtc.png"></video>
            </div>
        </div>
    </div>
</div>


</div>
</body>
</html>